package com.ibeeking.found.file.rest.service.office.mappers;

import com.ibeeking.found.file.rest.service.office.documentserver.models.AbstractModel;
import com.ibeeking.found.file.rest.service.office.entities.AbstractEntity;

// specify the model mapper functions
public interface Mapper<E extends AbstractEntity, M extends AbstractModel> {
   M toModel(E entity);  // convert the entity to the model
}
